export interface RoomStats {
    /**
     * 拥有者
     */
    owner?: string
    /**
     * 房间类型，外矿，中立房间，有主房间
     */
    type: 'source' | 'neutral' | 'owned'
    /**
     * 统计时间
     */
    time: number
    /**
     * 房间等级
     */
    level: number
}

export interface RoomMapMemory {
    [roomName: string]: RoomStats | undefined
}

declare global {
    interface Memory {
        roomMap: RoomMapMemory
    }
}
